package com.lovo.sheyingback.service;

import com.github.pagehelper.PageInfo;
import com.lovo.sheyingback.bean.Type;

import java.util.List;

public interface TypeService {
    PageInfo<Type> listType(Integer current,Integer pageSize);
    List<Type> listAllType();
    Type getById(Integer id);
    int insert(Type type);
    int update(Type type);
    int updateIndex(Integer id,Integer val);
}
